
<style>
    #contributions-table tbody td {
        cursor: pointer;
    }

    #contributions-table tbody tr.selected td {
        background-color: #38b6d0 !important;
        color: #fff;
    }

    #contributions-table tbody tr.selected td .text-muted {
        color: #eee;
    }

    .tab-pane{
        background: #ffffff;
        padding: 20px;
    }
</style>

<div class="" id="container">

    <?php echo $this->element('contributions/jump_menu'); ?>

    <div class="row">

        <div class="col-lg-12">
            <header class="header bg-light bg-gradient">
                <ul class="nav nav-tabs nav-white">
                    <li class="active"><a href="#contribution_history_tab" data-toggle="tab"><i class="fa fa-code-fork"></i> Contribution Types</a></li>
                    <li><a href="#currency_setup_tab" data-toggle="tab"><i class="fa fa-money"></i> Currency Setup</a></li>
                    <li><a href="#receipt_settings_tab" data-toggle="tab"><i class="fa fa-ticket"></i> Receipt Settings</a></li>
                    <li><a href="#report_setup_tab" data-toggle="tab"><i class="fa fa-bar-chart-o"></i> Report Setup</a></li>
                </ul>
            </header>

            <div class="tab-content">
                <div class="tab-pane active" id="contribution_history_tab">
                   <?php echo $this->element('contributions/contribution_types'); ?>
                </div>

                <div class="tab-pane" id="currency_setup_tab">
                    <?php echo $this->element('contributions/currency_setup'); ?>
                </div>

               <div class="tab-pane" id="receipt_settings_tab">
                   <?php echo $this->element('contributions/receipt_setup'); ?>
                </div>

                <div class="tab-pane" id="report_setup_tab">
                    <?php echo $this->element('contributions/report_setup'); ?>
                </div>
            </div>

        </div>

    </div>
</div>

<input type="hidden" id="contribution_types_url" value="<?php echo $this->Html->url(array('action' => 'contribution_types')); ?>" />

<?php
/*echo $this->Html->script('plugins/jquery.trocar/jquery.trocar.js');
echo $this->Html->script('plugins/jquery.friendurl/jquery.friendurl.min.js');*/
echo $this->Html->script('app/views/organisations/contribution_types.js');
echo $this->Html->script('app/views/organisations/contribution_currency_settings.js');
echo $this->Html->script('app/views/organisations/contribution_receipt_settings.js');
echo $this->Html->script('app/views/organisations/contribution_report_setup.js');
?>